//
// Created by yonghu0 on 25-10-21.
//

#include "Tag.h"
#include "MongoDataBase.h"

Tag::Tag()
{
}

Tag::~Tag()
{
}

Tag *Tag::GetInstance()
{
    static Tag tag;
    return &tag;
}

Json::Value Tag::GetProblemTags()
{
    return problemtags;
}

void Tag::InitProblemTags()
{
    Json::Value jsonvalue = MoDB::GetInstance()->GetProblemTags();
    problemtags["Tags"] = jsonvalue["values"];
}
